<h1 mat-dialog-title>创建订单</h1>
<form
    novalidate
    autocomplete="off"
    [formGroup]="orderCreateForm"
    (ngSubmit)="submit()"
>
    <div mat-dialog-content>
        <mat-form-field>
            <mat-label>吃啥？</mat-label>
            <mat-select formControlName="type">
                <mat-option value="Xiaomian">小面</mat-option>
                <mat-option value="Beef">牛肉面</mat-option>
            </mat-select>
        </mat-form-field>
        <mat-form-field>
            <mat-label>几碗？</mat-label>
            <input type="number" matInput formControlName="count" />
        </mat-form-field>
    </div>

    <div mat-dialog-actions>
        <button mat-raised-button color="primary" type="submit" ckFocusInitial>
            下单
        </button>
        <button mat-button type="button" (click)="cancel()">取消</button>
    </div>
</form>
